package com.tjy.service.impl;

import com.tjy.bean.User;
import com.tjy.dao.ILoginDao;
import com.tjy.service.ILoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class ILoginServiceImpl implements ILoginService {
    @Autowired
    private ILoginDao loginDao;
    @Override
    public User toLogin(User user) {
        return loginDao.toLogin(user);
    }
}
